package client

import (
	"tio-proxy-agent/core"
)

var ChannelManage = make(map[string]*core.ChannelContext)

type Result struct {
	Code    string      `json:"code"`
	Success bool        `json:"success"`
	Message string      `json:"message"`
	Data    interface{} `json:"data"`
}

var TunnelInfo *Tunnel

type Tunnel struct {
	Token      string
	Domain     string
	TargetHost string
	TargetPort int
	Protocol   string
}
